package com.cn.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.jws.WebParam;

/**
 * @Description
 * @Author wcc
 * @Date 2020/9/2-10:52
 **/
@Controller
public class ToIndexController {
    @RequestMapping("/")
    public ModelAndView toIndex(){
        ModelAndView modelAndView = new ModelAndView("index.html");
        return modelAndView;
    }
}
